﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WebKpiPage.Data.Condition
{
    public class CauseItem
    {
        public CauseItem(string name, short causeType, Dictionary<short, string> causes, string otherCause)
        {
            this.Name = name;
            this.CauseType = causeType;
            this.Causes = causes;
            this.OtherCause = otherCause;
        }

        public string Name
        {
            get;
            set;
        }

        public short CauseType
        {
            get;
            set;
        }

        public Dictionary<short, string> Causes
        {
            get;
            set;
        }

        public string OtherCause
        {
            get;
            set;
        }
    }
}
